import request from '@/utils/request'

export function createInvite(data) {
  return request({
    url: '/exam/group/invite',
    method: 'post',
    data
  })
}

export function getInvites(params) {

  return request({
    url: '/exam/group/invite/list',
    method: 'get',
    params: params
  })
}

export function deleteInvite(id) {
  return request({
    url: `/exam/group/invite/${id}`,
    method: 'delete'
  })
}
